"""
时间模块datetime
"""
from datetime import *
# start = datetime(2025,5,14,14,20,30)
# print(start)
# print(type(start))

# start = datetime(2025,5,14,14,20,30)
# end = datetime(2025,5,15,14,20,30)
# print(end - start)
#自定义时间差
# time = timedelta(days=1)
# print(time)
# print(start+time)
# start = datetime.now()

# sum = 0
# for item in range(100001):
#     sum += item
# print(sum)
#
# end = datetime.now()
# m = end - start
# print(f"耗时{m.total_seconds()}")